﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace YBApproval.Model
{
    //Instance
    public class Instance
    {
        [Key]
        public string RecordId { get; set; }
        public int SubmitterId { get; set; }
        public string Submitter { get; set; }
        public DateTime SubmitDate { get; set; }
        public bool IsClosed { get; set; }
        public string ClosedBy { get; set; }
        public DateTime CloseDate { get; set; }
        public int FormId { get; set; }
        public int ProcessId { get; set; }
        public int CurrentNodeId { get; set; }
        public bool IsSubmitted { get; set; }
        public int CurrentNodeOrder { get; set; }
        public int Step { get; set; }
        public Process Process { get; set; }
        public Node CurrentNode { get; set; }
        public DateTime UpdateDate { get; set; }
    }
}
